package com.jtpay.sdk.activity;

import java.util.Map;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.POST;
import retrofit2.http.Path;
import retrofit2.http.QueryMap;

/**
 * Created by Steven on 2016/8/30 0030.
 */
public interface APIInterface {
    // add QueryMap to get data
    @POST("{system}/sdk/token")
    Call<ResponseBody> getToken(@Path("system") String name, @QueryMap Map<String, String> map);

}
